﻿using System;

namespace DbManager.QueryBuilder.DbEntity.Bron
{
    public abstract class AEntityBron : IQuery
    {
        private int _idClient;
        private int _idGroup;
        private int _idPol;
        private int _idPot;
        private DateTime _dateEndOfRest;
        private int _idViezd;
        private int _idPrice;
        private DateTime _dateStartOfRest;
        private int _longOfRest;
        private bool _insurance;
        private bool _discount;
        private int _id;

        public int IDClient
        {
            get { return _idClient; }
            set { _idClient = value; }
        }

        public int IDGroup
        {
            get { return _idGroup; }
            set { _idGroup = value; }
        }

        public int IDPol
        {
            get { return _idPol; }
            set { _idPol = value; }
        }

        public int IDPot
        {
            get { return _idPot; }
            set { _idPot = value; }
        }

        public DateTime DateEndOfRest
        {
            get { return _dateEndOfRest; }
            set { _dateEndOfRest = value; }
        }

        public int IDViezd
        {
            get { return _idViezd; }
            set { _idViezd = value; }
        }

        public int IDPrice
        {
            get { return _idPrice; }
            set { _idPrice = value; }
        }

        public DateTime DateStartOfRest
        {
            get { return _dateStartOfRest; }
            set { _dateStartOfRest = value; }
        }

        public int LongOfRest
        {
            get { return _longOfRest; }
            set { _longOfRest = value; }
        }

        public bool Insurance
        {
            get { return _insurance; }
            set { _insurance = value; }
        }

        public bool Discount
        {
            get { return _discount; }
            set { _discount = value; }
        }

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        public abstract string GetSelectQuery();
        public abstract string GetInsertQuery();
        public abstract string GetUpdateQuery();
        public abstract string GetDeleteQuery();
    }
}
